package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author durui123
 * @since 2018-04-04
 */
public class Goods extends Model<Goods> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("goods_id")
    private String goodsId;
    @TableField("goods_name")
    private String goodsName;
    @TableField("goods_model")
    private String goodsModel;
    @TableField("goods_package")
    private String goodsPackage;
    @TableField("goods_warehouse")
    private String goodsWarehouse;
    @TableField("goods_quantity_unit")
    private String goodsQuantityUnit;
    @TableField("goods_weight_unit")
    private String goodsWeightUnit;
    @TableField("goods_volume_unit")
    private String goodsVolumeUnit;
    @TableField("goods_type")
    private String goodsType;
    @TableField("goods_remember_id")
    private String goodsRememberId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsModel() {
        return goodsModel;
    }

    public void setGoodsModel(String goodsModel) {
        this.goodsModel = goodsModel;
    }

    public String getGoodsPackage() {
        return goodsPackage;
    }

    public void setGoodsPackage(String goodsPackage) {
        this.goodsPackage = goodsPackage;
    }

    public String getGoodsWarehouse() {
        return goodsWarehouse;
    }

    public void setGoodsWarehouse(String goodsWarehouse) {
        this.goodsWarehouse = goodsWarehouse;
    }

    public String getGoodsQuantityUnit() {
        return goodsQuantityUnit;
    }

    public void setGoodsQuantityUnit(String goodsQuantityUnit) {
        this.goodsQuantityUnit = goodsQuantityUnit;
    }

    public String getGoodsWeightUnit() {
        return goodsWeightUnit;
    }

    public void setGoodsWeightUnit(String goodsWeightUnit) {
        this.goodsWeightUnit = goodsWeightUnit;
    }

    public String getGoodsVolumeUnit() {
        return goodsVolumeUnit;
    }

    public void setGoodsVolumeUnit(String goodsVolumeUnit) {
        this.goodsVolumeUnit = goodsVolumeUnit;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsRememberId() {
        return goodsRememberId;
    }

    public void setGoodsRememberId(String goodsRememberId) {
        this.goodsRememberId = goodsRememberId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Goods{" +
        "id=" + id +
        ", goodsId=" + goodsId +
        ", goodsName=" + goodsName +
        ", goodsModel=" + goodsModel +
        ", goodsPackage=" + goodsPackage +
        ", goodsWarehouse=" + goodsWarehouse +
        ", goodsQuantityUnit=" + goodsQuantityUnit +
        ", goodsWeightUnit=" + goodsWeightUnit +
        ", goodsVolumeUnit=" + goodsVolumeUnit +
        ", goodsType=" + goodsType +
        ", goodsRememberId=" + goodsRememberId +
        "}";
    }
}
